using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Configuration;
using ESoft.Core.DAO;
using ESoft.Core.Data.Entity;

namespace Edu.Web.Data.Entity
{
    /// <summary>
    /// AttendanceGroup
    /// </summary>    
	[Table("attendance_group")]
    public partial class AttendanceGroupEntity : BaseModel<long>
    {		    
        /// <summary>
        /// 班级ID
        /// </summary>
		[Column("clazz_id")]
        public long ClazzId { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
		[Column("group_name")]
        public string GroupName { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
		[Column("create_time")]
        public DateTime CreateTime { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
		[Column("create_user_id")]
        public long CreateUserId { get; set; }
    }

	public class AttendanceGroupEntityRegstHelper : IEntityMapper
    {
        public void RegistTo(ConfigurationRegistrar configurations)
        {
            configurations.Add<AttendanceGroupEntity>(new EntityTypeConfiguration<AttendanceGroupEntity>());
        }
    }
}

